package com.galgram.project.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.time.*;

import lombok.*;
import com.galgram.common.annotation.Excel;
import com.galgram.common.core.domain.BaseEntity;

/**
 * 活动对象 fx_activity
 *
 * @author galgram
 * @date 2024-11-20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("fx_activity")
public class FxActivity extends BaseEntity {

    /**
     * 活动id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 活动详情标题
     */
    @Excel(name = "活动详情标题")
    private String title;

    /**
     * 活动详情发表日期
     */
    @Excel(name = "活动详情发表日期")
    private LocalDate date;

    /**
     * 活动详情描述
     */
    @Excel(name = "活动详情描述")
    private String content;

    /**
     * 活动主题
     */
    @Excel(name = "活动主题")
    private String theme;

    /**
     * 活动报名费用
     */
    @Excel(name = "活动报名费用")
    private Float price;

    /**
     * 活动状态(报名中|进行中|已结束)
     */
    @Excel(name = "活动状态(报名中|进行中|已结束)")
    private String state;

    /**
     * 活动时间
     */
    @Excel(name = "活动时间")
    private String activityTime;

    /**
     * 活动地点
     */
    @Excel(name = "活动地点")
    private String activityAddress;

    /**
     * 活动封面
     */
    @Excel(name = "活动封面")
    private String activityCover;

    /**
     * 活动详情配图
     */
    @Excel(name = "活动详情配图")
    private String inset;

    /**
     * 活动名额
     */
    @Excel(name = "活动名额")
    private Integer allPeople;

    /**
     * 活动报名人数
     */
    @Excel(name = "活动报名人数")
    private Integer applyPeople;

}
